import { JournalGateway } from "./dto.journal";
import { Journal } from "./schema.journal";

export const JournalRpcInsertOnePath = `${JournalGateway.path}/insertOne`;
export type insertOneJournalRpcDto = { schema: Journal };

export interface JournalRpcInterfaceWithDerive<T> {
  insertOne(dto: T & insertOneJournalRpcDto): Promise<null>;
}
